docs: Adding comment about file inclusion in TS section#888
Conversation
|
AndyOGo
left a comment
There was a problem hiding this comment.
Thanks a lot for clarification!
I would explicitly mention that ts configs like typeRoots wont work.
|
@AndyOGo Hm, that's not a Microbundle thing. TSC wouldn't do anything differently. That's just not what that |
|
Thanks for your answer. I have custum definition files, which I usually add by using typeRoots. And it works stable with tsc. Though with microbundle it wont work. My guess is because the default includes is **/*, but if files is specified then includes default is an empty array. |
|
It's exactly that, yeah. By default Though I should say Edit: It seems the only real use for |
Closes #807
When building with TypeScript, we provide a default value for
"files"which has the side effect of altering what files are included for compilation with Microbundle. While this is intentional (see #621) it isn't exactly obvious to users why files included when usingtscare suddenly not included when using Microbundle.